﻿using System.Configuration;

namespace SPSDeploy.Extensions.Configuration
{
    /// <summary>
    /// Account element
    /// </summary>
    public class AccountElement : ConfigurationElement
    {

        #region Properties
        /// <summary>
        /// Account name
        /// </summary>
        [ConfigurationProperty("name", IsKey = true)]
        public string Name
        {
            get
            {
                return (string)this["name"];
            }
        }

        /// <summary>
        /// Account password
        /// </summary>
        [ConfigurationProperty("password")]
        public string Password
        {
            get
            {
                return (string)this["password"];
            }
        }
        #endregion

    }
}